<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>访问提示</title>
    <?php include(APPLICATION_BASE_TPL_PATH . "/inc/include.phtml"); ?>
    <style>
        .jump {min-width:50%;max-width:50%;margin:auto;}
    </style>
</head>
<body>
<div class="alert alert-danger jump" role="alert">
    <?php echo "code:" . $retcode . ",msg:" . $msg; ?><a href="<?=$_SERVER['HTTP_REFERER']?>">返回上一页</a>
</div>
</body>
<script>
    if($('a').length > 1){
        $('a:last').remove();
    }
    url = $('a').attr('href');
    if(url){
        setTimeout(function() {
            window.location.href = $('a').attr('href');
        }, 3000);
    }
</script>
</html>
